@(content: Html, node: spray.site.ContentNode = spray.site.Main.root)

<!DOCTYPE HTML>
<!--[if IE 7 ]>    <html class="ie7 no-js" lang="en"> <![endif]-->
<!--[if IE 8 ]>    <html class="ie8 no-js" lang="en"> <![endif]-->
<!--[if IE 9 ]>    <html class="ie9 no-js" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
    <title>spray | @node.title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="description" content="An open-source toolkit for REST/HTTP and low-level network IO on top of Scala and Akka" />
    <meta name="keywords" content="scala, akka, actors, io, network, HTTP, REST, open-source, server, client" />

    <link href="/css/mentor.min.css" rel="stylesheet"/>
    <link href="/css/skin_blue.css" rel="stylesheet"/>
    <link href="/css/spray.css" rel="stylesheet"/>
    <link href="/css/pygments.css" rel="stylesheet"/>
    <link href="/css/typeahead.css" rel="stylesheet"/>

    @node.doc.meta.styleList.map { style =>
      <link href="@style" rel="stylesheet"/>
    }

    <link rel="shortcut icon" href="/favicon.png" />
    <link rel="search" type="application/opensearchdescription+xml" title="spray.io 1.2.0 documentation" href="/search/documentation/descriptor" />

    @if(node.uri.startsWith("blog")) {
    <link href="/blog/feed/" type="application/atom+xml" rel="alternate" title="Blog Atom Feed" />
    }

    <!-- http://remysharp.com/2009/01/07/html5-enabling-script/ -->
    <!--[if lt IE 9]>
        <script type="text/javascript">/*@@cc_on'abbr article aside audio canvas details figcaption figure footer header hgroup mark meter nav output progress section summary subline time video'.replace(/\w+/g,function(n){document.createElement(n)})@@*/</script>
    <![endif]-->
    <script type="text/javascript">(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>

    <script type="text/javascript" src="/js/mentor.min.js"></script>
    <script type="text/javascript" src="/js/typeahead.bundle.min.js"></script>
    <script type="text/javascript" src="/js/directives-map.js"></script>
    <script type="text/javascript" src="/js/highlight-directives.js"></script>
    <script type="text/javascript" src="/js/custom.js"></script>
    @node.doc.meta.scriptList.map { script =>
      <script type="text/javascript" src="@script" charset="utf-8"></script>
    }

    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-35539715-1']);
      _gaq.push(['_trackPageview']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    </script>

    <script type="text/javascript">
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
            (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
                m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
        })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
        ga('create', 'UA-23127719-1', 'typesafe.com', {'allowLinker': true, 'name': 'tsTracker'});
        ga('tsTracker.require', 'linker');
        ga('tsTracker.linker:autoLink', ['typesafe.com','playframework.com','scala-lang.org','scaladays.org','spray.io','akka.io','scala-sbt.org','scala-ide.org']);
        ga('tsTracker.send', 'pageview');
    </script>
</head>

<body class="@{if(node.isRoot) "page-home" else if (node.uri.startsWith("blog")) "page-blog" else "page-doc"}">

@html.header(node)

@content

@html.footer()

<!--back to top button-->
<a href="#top" id="peBackToTop" class="label btt disabled"><span class="icon-chevron-up icon-white"></span></a>

<div id="deprecation-note" style="display: none">
    <p>
        <em>spray</em> is no longer maintained and has been superseded by
        <a href="http://doc.akka.io/docs/akka-http/current/scala.html">Akka HTTP</a>.<br/>
        Please check out the
        <a href="http://doc.akka.io/docs/akka-http/current/scala/http/migration-guide/migration-from-spray.html">migration guide</a>
        for help with the upgrade.<br/>
        Commercial support is available from <a href="http://www.lightbend.com/">Lightbend</a>.
    </p>
    <button>Dismiss for a Day</button>
</div>

</body>
</html>
